package com.ruoyi.project.system.domain;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 用户收藏平台瞬间对象 sys_moment_collection
 * 
 * @author jjp
 * @date 2020-07-21
 */
public class SysMomentCollection extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long collectionId;

    /** 用户id */
    @ApiModelProperty(name = "用户id")
    private Long mobileUserId;

    /** 平台瞬间id */
    @ApiModelProperty(name = "平台瞬间id")
    private Long momentId;

    private SysMoment sysMoment;

    public SysMoment getSysMoment() {
        return sysMoment;
    }

    public void setSysMoment(SysMoment sysMoment) {
        this.sysMoment = sysMoment;
    }

    public void setCollectionId(Long collectionId)
    {
        this.collectionId = collectionId;
    }

    public Long getCollectionId() 
    {
        return collectionId;
    }
    public void setMobileUserId(Long mobileUserId) 
    {
        this.mobileUserId = mobileUserId;
    }

    public Long getMobileUserId() 
    {
        return mobileUserId;
    }
    public void setMomentId(Long momentId) 
    {
        this.momentId = momentId;
    }

    public Long getMomentId() 
    {
        return momentId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("collectionId", getCollectionId())
            .append("mobileUserId", getMobileUserId())
            .append("momentId", getMomentId())
            .append("createTime", getCreateTime())
            .toString();
    }
}
